import {
    bookshelf,
    bookshelfActive,
    bookstore,
    bookstoreActive,
    rank,
    rankActive,
    sort,
    sortActive,
    icon_font
} from '../baseConfig'

export default {

    // 正常模式的tab title配置
    tabTitles: [
        {
            title: '书架',
            icon: bookshelf,
            activeIcon: bookshelfActive
        },
        {
            title: '排行',
            icon: rank,
            activeIcon: rankActive,
            // badge: 5
        },
        {
            title: '分类',
            icon: sort,
            activeIcon: sortActive,
            // dot: true
        },
        {
            title: '书城',
            icon: bookstore,
            activeIcon: bookstoreActive
        },
    ],
    tabStyles: {
        bgColor: '#FFFFFF',
        titleColor: '#666666',
        activeTitleColor: '#d81e06',
        activeBgColor: '#FFFFFF',
        isActiveTitleBold: true,
        iconWidth: 40,
        iconHeight: 40,
        width: 130,
        height: 100,
        fontSize: 24,
        textPaddingLeft: 10,
        textPaddingRight: 10
    },

    // 使用 iconFont 模式的tab title配置
    tabIconFontTitles: [
        {
            title: '书架',
            codePoint: '\ue60a'
        },
        {
            title: '排行',
            codePoint: '\ue613'
        },
        {
            title: '分类',
            codePoint: '\ue605'
        },
        {
            title: '书城',
            codePoint: '\ue640'
        },
    ],
    tabIconFontStyles: {
        bgColor: '#FFFFFF',
        titleColor: '#666666',
        activeTitleColor: '#d81e06',
        activeBgColor: '#FFFFFF',
        isActiveTitleBold: true,
        width: 160,
        height: 120,
        fontSize: 24,
        textPaddingLeft: 10,
        textPaddingRight: 10,
        iconFontSize: 50,
        iconFontMarginBottom: 8,
        iconFontColor: '#333333',
        activeIconFontColor: '#d81e06',
        iconFontUrl: icon_font,
    }
}